<%-- 
    Document   : success
    Created on : 21 Apr 09, 14:04:15
    Author     : Hadi
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>


<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h2>Success</h2>
        <f:view>
            <h:form>
                <h:outputLink value="home"> Home</h:outputLink> |  
                <h:outputLink value="myOrder"> My Order</h:outputLink> |
                <h:outputLink value="history"> Shopping History</h:outputLink>
                <p>
                <h:dataTable value="#{bookDao.allBooks}"  var="bk">
                    <h:column>
                        
                        <f:facet name="header">
                            
                            <h:outputText value="Title" />
                            
                        </f:facet>
                        
                       
                    </h:column>
                    
                </h:dataTable>
            </h:form>
        </f:view>
        
    </body>
</html>
